package com.polaris.live.adapter

import com.polaris.live.common.adapter.BaseBindingAdapter
import com.polaris.live.common.adapter.VBViewHolder
import com.polaris.live.databinding.AdapterGameDetailTypeBinding
import com.polaris.live.resp.bean.GameDetailTypeBean

/**
 * GameDetailTypeAdapter
 *
 * @author Created by 半仙 on 2024/3/18/018 20:12
 */
class GameDetailTypeAdapter :
    BaseBindingAdapter<AdapterGameDetailTypeBinding, GameDetailTypeBean>() {
    override fun convert(
        holder: VBViewHolder<AdapterGameDetailTypeBinding>,
        item: GameDetailTypeBean,
    ) {
        holder.vb.apply {
            tvTypeName.text = item.name
        }
    }

}